package com.medical.literature.recognition.service;

import com.medical.literature.recognition.dto.RecognitionRequest;
import com.medical.literature.recognition.dto.RecognitionResult;

/**
 * 识别服务接口
 */
public interface RecognitionService {
    
    /**
     * 启动文献识别任务
     * @param request 识别请求
     * @return 任务ID
     */
    Long startRecognitionTask(RecognitionRequest request);
    
    /**
     * 获取识别任务状态
     * @param taskId 任务ID
     * @return 识别结果
     */
    RecognitionResult getRecognitionStatus(Long taskId);
    
    /**
     * 处理识别任务
     * @param request 识别请求
     * @return 识别结果
     */
    RecognitionResult processRecognition(RecognitionRequest request);
}